/*
 * OperatorAst.cpp
 *
 *  Created on: 30 Oct 2010
 *      Author: kn308
 */

#include <MAlice/Parser/location.hh>
#include <MAlice/Ast/OperatorAst.h>
#include <MAlice/Ast/ExpressionAst.h>

namespace MAlice
{

OperatorAst::~OperatorAst()
{
	MALICE_TRACE;
}

OperatorAst::OperatorAst(location loc, const string& operatorName) :
	ExpressionAst(loc), mOperator(operatorName)
{
	MALICE_TRACE;
}

const string& OperatorAst::getOperator() const
{
	MALICE_TRACE;
	return mOperator;
}

}
